package com.fansaikj.fansplat.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "测试类页面")
@RestController
@RequestMapping("/test")
public class IndexController {

    @ApiOperation(value = "测试测试测试")
    @GetMapping("/index")
    public String Index(){
        return "Hello Swagger!";
    }
}

